/**
 * Copyright 2011 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * @author opensource@google.com
 * @license Apache License, Version 2.0.
 */

/* Inspired by http://golang.org/doc/, which we greatly admire. */

body {
  color: #222;
  font-family: arial, sans-serif;
  font-size: 16px;
  margin: 0;
}

a {
  color: #375eab;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#content {
  margin: 30px 40px;
}

#title {
  text-align: center;
}

#footer {
  border-top: 1px solid #999;
  margin: 30px 20px;
  padding-top: 4px;
}

h1, h2, h3, h4 {
  color: #375eab;
  font-weight: bold;
  margin: 20px 0;
}

h1 {
  font-size: 24px;
}

h2 {
  background-color: #e0ebf5;
  font-size: 20px;
  padding: 2px 5px;
}

h4 {
  font-size: 16px;
}

#content h2 {
  margin: 20px -20px;
}

.subsection {
  margin-bottom: 20px;
  margin-left: 20px;
}

.code-inline {
  color: #282;
  font-family: menlo, monospace;
  font-size: 14px;
}

a .code-inline {
  color: #375eab;
}

.code-block {
  background-color: #e9e9e9;
  font-family: menlo, monospace;
  font-size: 14px;
  line-height: 1.3;
  padding: 10px;
  white-space: pre-wrap;
  -webkit-border-radius: 5px;
}

.code-block .literal {
  color: #282;
}

.code-block .comment {
  color: #375eab;
}

/**
 * Note: For .toggle-clickable divs, we set display to inline-block so that they
 * take on the width of their contents, and then wrap them in .toggle-row divs
 * so that they take up entire rows.
 */
.toggle-row {
  margin: 1em 0;
}

.toggle-clickable {
  cursor: pointer;
  display: inline-block;
}

.toggle-icon {
  display: inline-block;
  vertical-align: middle;
  height: 12px;
  width: 12px;
}

.toggle-text {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}

.toggle-value {
  display: none;
}
